package cn.hyh.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @auther :hyh
 * @desc :
 * @date :2020/1/10
 */
@Controller("/test")
public class TestController  extends AbstractController {
	@Override
	protected ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception {
		  response.getWriter().write("这是继承 abstractController 类实现得方法!");
		return null;
	}
}
